// middleware.js

export function auth(to, from, next) {
  // 中间件逻辑
  console.log('Middleware 1 executed');
  next();
}
